package com.kyzh.core.pager.me.user

import androidx.lifecycle.viewModelScope
import com.gushenge.core.base.viewmodel.BaseViewModel
import com.gushenge.core.requests.UserRequest
import kotlinx.coroutines.launch

class UserViewModel : BaseViewModel() {
    fun sacn(token:String?,listener:   () -> Unit){
        viewModelScope.launch {
            UserRequest.scan(token){
                listener()
            }
        }
    }
}